export default function (app) {
  const components = import.meta.glob('./**/index.vue', {
    eager: true
  })
  Object.keys(components).forEach((key) => {
    const component = components[key].default
    app.component(component.name, component)
  })
}
